package sqlSession;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface SqlSession {

    public <E> List<E> selectAll(String statementid, Object ...params) throws Exception;

    public <T> T selectById(String statementid, Object ...params) throws Exception;

    public int delete(String statementid,Object ...params) throws Exception;

    public int insert(String statementid,Object ...params) throws Exception;

    public int update(String statementid,Object ...params) throws Exception;

    public <T> T getMapper(Class<?> mapperClass);

}
